//package com.bestcem.xm.member.job;
//import com.bestcem.xm.member.service.SendMemberService;
//import lombok.extern.slf4j.Slf4j;
//import org.quartz.Job;
//import org.quartz.JobExecutionContext;
//import org.quartz.JobExecutionException;
//import org.springframework.stereotype.Component;
//
//import javax.annotation.Resource;
//
///**
// * 联系人打标签定时任务
// *
// * @author wangyf <yf.wang@idiaoyan.com>
// * @version v1.0
// * @date 2021/7/16 14:29
// */
//@Slf4j
//@Component("memberLabelStatisticJob")
//public class MemberLabelStatisticJob implements Job {
//
//    /**
//     * 推送联系人服务
//     */
//    @Resource
//    private SendMemberService sendMemberService;
//
//    @Override
//    public void execute(JobExecutionContext context) throws JobExecutionException {
//        try {
//            if (log.isInfoEnabled()) {
//                log.info("[MEMBER] 联系人打标签开始");
//            }
//            sendMemberService.publishMemberSlices();
//        } catch (Exception e) {
//            String jobName = context.getJobDetail().getKey().getName();
//            log.error("[MEMBER] {} 联系人打标签失败; ErrorMsg: {}", jobName, e.getMessage(), e);
//        }
//    }
//}
